package three;



public class test2 {
	
	public void testPassRef(Point p) {
		
		p=null;
		System.out.println(p);
	}
	public static void main(String[] args) {
		test2 bpv=new test2();
		Point p=new Point();
		System.out.println(p);
		bpv.testPassRef(p);
		System.out.println(p);
		
	}
	

}

class Point{
	int x;
	int y;
}
